<template>
  <el-form ref="form" :model="form" label-width="120px" style="width: 100%;" >
    <el-form-item label="所属端">
      <el-select v-model="value" placeholder="PCWEB">
        <el-option v-for="item in form.options" :key="item.value" :label="item.label" :value="item.value"/>
      </el-select>
    </el-form-item>
    <el-form-item label="模块标识">
      <el-input v-model="form.code" style="width: 80%;"/>
    </el-form-item>
    <el-form-item label="模块名称">
      <el-input v-model="form.name" style="width: 80%;"/>
    </el-form-item>
    <el-form-item label="模块版本">
      <el-input v-model="form.version" style="width: 80%;"/>
    </el-form-item>
    <el-form-item label="描述">
      <el-input v-model="form.desc" type="textarea" style="width: 80%;"/>
    </el-form-item>
  </el-form>
</template>
<script>
export default {
  data() {
    return {
      form: {
        options: [],
        title: '',
        value: '',
        code: '',
        decs: '',
        version: ''
      }
    }
  },
  methods: {
    handleBarrel() {
      this.button = false
      this.tag = true
    },
    handleModular() {
      this.modular.button = false
      this.modular.tag = true
    },
    delThis() {
      this.moduleShow = false
    }
  }
}
</script>

<style lang="scss" scoped>
.board {
  margin-left: 20px;
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  align-items: flex-start;
}
.kanban {
  margin-right: 10px;
  &.todo {
    .board-column-header {
      background: #4A9FF9;
    }
  }
  &.working {
    .board-column-header {
      background: #f9944a;
    }
  }
  &.done {
     margin-right: 0;
    .board-column-header {
      background: #999;
    }
  }
}
</style>
